package com.bwie.controller;

import com.bwie.service.TbApprService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description :
 * @Author QiHainan
 * @Create 2025/5/27 16:50
 * @Version 1.0
 */
@RestController
@RequestMapping("/prod/appr")
public class ApprController {
    @Autowired
    TbApprService tbApprService;

    /**
     * 获取供应商列表下拉框
     * @return
     */
    @PostMapping("/getApprList")
    public Result getApprList(){
        return tbApprService.getApprList();
    }
}
